<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>${content_tittle}</title>
<link href="${css_ctx}/style_login.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${js_ctx}/jquery-1.6.js"></script>
<script type="text/javascript" src="${js_ctx}/jquery.validate.js"></script>
<script type="text/javascript" src="${ctx }/fckeditor/fckeditor.js"></script>
	<script type="text/javascript">
		window.onload = function()
		{
			var oFCKeditor = new FCKeditor( 'remarks' ) ;
			oFCKeditor.BasePath = "${ctx }/fckeditor/" ;
			oFCKeditor.Width = "100%";
			oFCKeditor.Height = "300";
			oFCKeditor.ReplaceTextarea() ;
		}
	</script>
<script type="text/javascript">
            $(function(){
            
                $("#schoolname").validate({
                    valid: function(val){
                        return val != "";
                    },
                    errorMessage: function(val){
                        return "不能为空！";
                    },
                    appendCompletionIcon: true
                });
                
               $("#teamname").validate({
                    valid: function(val){
                        return val != "";
                    },
                    errorMessage: function(val){
                        return "不能为空！";
                    },
                    appendCompletionIcon: true
                });
              $("#weekdays").validate({
                    valid: function(val){
                        return val != "";
                    },
                    errorMessage: function(val){
                        return "不能为空！";
                    },
                    appendCompletionIcon: true
                });
                $("#amnum").validate({
                    valid: function(val){
                        return val != "";
                    },
                    errorMessage: function(val){
                        return "不能为空！";
                    },
                    appendCompletionIcon: true
                });
                $("#amtim").validate({
                    valid: function(val){
                        return val != "";
                    },
                    errorMessage: function(val){
                        return "不能为空！";
                    },
                    appendCompletionIcon: true
                });
                $("#password").validate({
                    valid: function(val){
                        return val != "";
                    },
                    errorMessage: function(val){
                        return "不能为空！";
                    },
                    appendCompletionIcon: true
                });
                $("#pmnum").validate({
                    valid: function(val){
                        return val != "";
                    },
                    errorMessage: function(val){
                        return "不能为空！";
                    },
                    appendCompletionIcon: true
                });
                $("#pmtime").validate({
                    valid: function(val){
                        return val != "";
                    },
                    errorMessage: function(val){
                        return "不能为空！";
                    },
                    appendCompletionIcon: true
                });
                $("#moonnum").validate({
                    valid: function(val){
                        return val != "";
                    },
                    errorMessage: function(val){
                        return "不能为空！";
                    },
                    appendCompletionIcon: true
                });
                $("#moontime").validate({
                    valid: function(val){
                        return val != "";
                    },
                    errorMessage: function(val){
                        return "不能为空！";
                    },
                    appendCompletionIcon: true
                });
                
            });
        </script>
</head>

<body class="main_m"> 
<!-- main_title -->
<div class="main_title">
  <h3>${content_tittle}</h3>
  <c:remove var="content_tittle" scope="session"/>
</div>
<!-- End of main_title -->

<!-- 提示信息 -->
<c:if test="${!empty msg}">
   <div class="box width650 ${msgrank}">${msg}</div>
   <c:remove var="msg" scope="session"/>
</c:if>
<!-- End of 提示信息 -->

<!--主体内容-->
<div class="width700">
  <form id="form1" method="post" action="${ctx}/account.do?cmd=usersubmit">
    <input type="hidden" id="objectid" value="${course.objectid}" name="userid"/>
    <p>
    <label for="schoolname"><font>*</font>学校名：</label><br/>
    <input type="text" id="schoolname" class="full" value="${coursebox.schoolname}" name="schoolname"/>
    </p>
    
    <p>
    <label for="teamname"><font>*</font>学期名称：</label><br/>
    <input type="text" id="teamname" class="full" value="${coursebox.teamname}" name="teamname"/>
    </p>
    
    <p>
    <label for="weekdays"><font>*</font>每周上课天数：</label><br/>
    <input type="text" id="weekdays" class="full" value="${coursebox.weekdays}" name="weekdays"/>
    </p>
    
    <p>
    <label for="amnum"><font>*</font>上午上课节数：</label><br/>
    <input type="text" id="amnum" class="full" value="${coursebox.amnum}" name="amnum"/>
    </p>
    <p>
    <label for="amtim"><font>*</font>上午上课时间：</label><br/>
    <input type="text" id="amtim" class="full" value="${coursebox.amtim}" name="amtim"/>
    </p>
    <p>
    <label for="pmnum"><font>*</font>下午上课节数：</label><br/>
    <input type="text" id="pmnum" class="full" value="${coursebox.pmnum}" name="pmnum"/>
    </p>
    <p>
    <label for="pmtime"><font>*</font>下午上课时间：</label><br/>
    <input type="text" id="pmtime" class="full" value="${coursebox.pmtime}" name="pmtime"/>
    </p>
    <p>
    <label for="moonnum"><font>*</font>晚上上课节数：</label><br/>
    <input type="text" id="moonnum" class="full" value="${coursebox.moonnum}" name="moonnum"/>
    </p>
    <p>
    <label for="moontime"><font>*</font>晚上上课时间：</label><br/>
    <input type="text" id="moontime" class="full" value="${coursebox.moontime}" name="moontime"/>
    </p>
    
    <p>
    <label for="remarks">备注信息：</label><br/>
	<textarea id="remarks" name="remarks" >${coursebox.remarks}</textarea>
	</p>
	<br />
	<div style="text-align:center;">
    <input type="submit" class="btn btn-green big1" value="提交"/> &nbsp; 
    <input type="reset" class="btn btn-green big1" value="取消" />
    </div>
    </form>
    <br />
</div>
<!-- End of 主体内容 -->
<!-- footer -->
<div id="footer_main">
    <%@ include file="../base/footer.jsp"%>
</div>
<!-- End of footer -->
</body>
</html>
